package cn.healthlink.no_5;

import org.springframework.beans.PropertyEditorRegistrar;
import org.springframework.beans.PropertyEditorRegistry;

import java.time.LocalDate;

/**
 * @author dengzhiyuan
 * @version 1.0
 * @time 2021/2/20 11:20
 */
public class DatePropertyEditorRegister implements PropertyEditorRegistrar {
	@Override
	public void registerCustomEditors(PropertyEditorRegistry registry) {
		registry.registerCustomEditor(LocalDate.class,new DatePropertyEditor());
	}
}
